#ifndef _HEAD_
#define _HEAD_
#include <func.h>
#include "Command.h"

typedef struct train_s{
    int length;
    char data[1000];
}train_t;

int recvn(int sockfd,void *buf,int length);

int recvFile(int sockfd,char* fileName);

int uploadFile(int netfd,const char* fileName);

void login(int sockfd);

#endif
